package admin.gateway;

import admin.gateway.config.RedisConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;



/**
 *
 * @author zgb
 * @date 2024/1/23
 * @description TODO
 */

@Configuration
@Import({RedisConfig.class})
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"admin"})
public class AdminGateway {
    public static void main(String[] args) {
        SpringApplication.run(AdminGateway.class, args);
    }
}
